

export function geneIndex (){
  let count = 40
  let originalArray = new Array//原数组
  //给原数组originalArray赋值
  for (let i = 0; i < count; i++) {
    originalArray[i] = i + 1
  }
  let d1 = new Date().getTime()
  originalArray.sort(function () { return 0.5 - Math.random() })
  for (let i = 0; i < 10; i++) {
    this.indexList.push(originalArray[i])
  }
  let d2 = new Date().getTime()
  console.log('this.indexList', this.indexList)
}
